/*
  Example 17.1
  Display any data coming out of the GPS receiver in the serial monitor box
  tronixstuff.com/tutorials > Chapter 17
*/

// as the GPS module sends data out serially, we just pick it up character by
// character and repeat it to the serial output

byte aa;	
void setup() 
{
  Serial.begin(38400);	// the module runs at 4800 bps, not 9600!
}

void loop() 
{
  if (Serial.available()>0) // if there is data coming into the serial line
  {
    aa = Serial.read(); // get the byte of data
    Serial.print(aa, BYTE); // send it to the serial monitor
  }
}

